<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>getAttribute</title>
    </head>
    <body>
        读取 <a href="dom_obj_attributes.php" target="_blank">Attr 对象</a>.
        <p id="demo">单击按钮以显示上述链接的目标属性的值</p>
        <button onclick="myFunction()">点我</button>
        <script type="text/javascript" src="getAttribute.js"></script>
    </body>
</html>